package com.micromall.repository;

import com.micromall.repository.entity.FreightRules;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface FreightRulesMapper extends BaseMapper<FreightRules> {

	@Delete("DELETE FROM freight_rules where freight_id=#{freightId}")
	int deleteByFreightId(@Param("freightId") int freightId);
}